Skip to content

feat(sink): Add Axiom sink - #13007

Merged
spencergilbert merged 13 commits into
vectordotdev:masterfrom
bahlo:add-axiom
Jul 5, 2022
Merged

spencergilbert merged 13 commits into
vectordotdev:masterfrom
bahlo:add-axiom

Conversation

@bahlo

@bahlo bahlo commented Jun 7, 2022

Copy link
Copy Markdown
Contributor

This adds a sink for Axiom. Axiom has support for the bulk API, so this sink is wrapping the elasticsearch sink as discussed in #12882.

Here's an example configuration using Axiom Cloud and an API token:

[sinks.axiom]
inputs = ["whatever"]
type = "axiom"
token = "xaat-1234"
dataset = "vector-dev"

Support for configuring the timestamp field on Axioms bulk API is underway and will be deployed + released this week. Until then, the timestamp in Axiom will be the ingestion timestamp and each event will have a timestamp key, so I guess it makes sense to wait with merging until that is live (I will comment as soon as that is the case).

Questions

  1. Does the axiom.cue file look sane to you? Can I preview the generated docs somehow locally?
  2. How are you handling upgrades for test environments? Should we open a PR each time we release a new version?

Closes #12882

@bits-bot

bits-bot commented Jun 7, 2022 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@netlify

netlify Bot commented Jun 7, 2022 •

Copy link
Copy Markdown

✅ Deploy Preview for vector-project canceled.

Name Link
🔨 Latest commit 653d4ec
🔍 Latest deploy log https://app.netlify.com/sites/vector-project/deploys/62bea80d6f7274000868c808

@github-actions github-actions Bot added domain:ci Anything related to Vector's CI environment domain:external docs Anything related to Vector's external, public documentation domain:sinks Anything related to Vector's sinks labels Jun 7, 2022
@spencergilbert

Copy link
Copy Markdown
Contributor

Questions

  1. Does the axiom.cue file look sane to you? Can I preview the generated docs somehow locally?

The website/ dir has a Makefile that can help out there, make serve should do "everything" and serve the docs site locally.

  1. How are you handling upgrades for test environments? Should we open a PR each time we release a new version?

Could you expand here? @jszwedko and I (among others) have been discussing how we'd like to improve our integration test coverage, especially across versions. We could do something "simple" like integration test against a latest tag of Axiom + a stable tag?

@github-actions

github-actions Bot commented Jun 7, 2022

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: a27268e
Comparison: 73c04da
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
syslog_log2metric_humio_metrics 201.07KiB 1.35 100.00% 14.51MiB 638.91KiB 13.03KiB 0 0.0429953 14.71MiB 331.66KiB 6.79KiB 0 0.022021 False False
datadog_agent_remap_blackhole_acks 485.15KiB 0.68 100.00% 69.38MiB 2.89MiB 60.3KiB 0 0.0416069 69.86MiB 2.76MiB 57.59KiB 0 0.0394575 False False
datadog_agent_remap_blackhole 462.46KiB 0.63 100.00% 71.14MiB 1.42MiB 29.71KiB 0 0.0199281 71.59MiB 972.15KiB 19.9KiB 0 0.0132588 False False
datadog_agent_remap_datadog_logs_acks 382.05KiB 0.52 99.99% 71.22MiB 2.36MiB 49.41KiB 0 0.0331548 71.6MiB 3.85MiB 80.44KiB 0 0.0537481 False False
datadog_agent_remap_datadog_logs 280.94KiB 0.37 99.58% 74.12MiB 2.35MiB 49.17KiB 0 0.0317545 74.4MiB 4.06MiB 84.88KiB 0 0.0546156 False False
syslog_regex_logs2metric_ddmetrics 40.8KiB 0.32 88.92% 12.45MiB 896.53KiB 18.25KiB 0 0.0703253 12.49MiB 881.62KiB 17.93KiB 0 0.0689348 False False
http_to_http_noack 76.0KiB 0.31 99.98% 23.77MiB 958.69KiB 19.53KiB 0 0.039374 23.85MiB 247.67KiB 5.06KiB 0 0.0101402 False False
fluent_elasticsearch 72.15KiB 0.09 99.35% 79.4MiB 1.28MiB 26.45KiB 0 0.0161699 79.47MiB 53.73KiB 1.08KiB 0 0.000660073 False False
http_pipelines_blackhole_acks 3.26KiB 0.07 16.38% 4.6MiB 535.74KiB 10.97KiB 0 0.113646 4.61MiB 555.36KiB 11.35KiB 0 0.117727 False False
http_to_http_json 521.63B 0 4.06% 23.84MiB 347.98KiB 7.11KiB 0 0.0142499 23.84MiB 345.4KiB 7.05KiB 0 0.0141442 False False
splunk_hec_to_splunk_hec_logs_noack 303.09B 0 2.43% 23.84MiB 338.97KiB 6.94KiB 0 0.0138852 23.84MiB 333.36KiB 6.82KiB 0 0.0136554 False False
splunk_hec_indexer_ack_blackhole -10.67KiB -0.04 37.97% 23.77MiB 725.76KiB 14.77KiB 0 0.0298051 23.76MiB 770.04KiB 15.67KiB 0 0.0316375 False False
splunk_hec_to_splunk_hec_logs_acks -20.22KiB -0.08 64.96% 23.78MiB 708.32KiB 14.42KiB 0 0.0290858 23.76MiB 793.77KiB 16.15KiB 0 0.032622 False False
splunk_hec_route_s3 -102.89KiB -0.51 89.44% 19.65MiB 2.15MiB 44.99KiB 0 0.109505 19.55MiB 2.15MiB 44.92KiB 0 0.109891 False False
syslog_humio_logs -126.45KiB -0.71 100.00% 17.49MiB 614.28KiB 12.59KiB 0 0.0342952 17.36MiB 554.48KiB 11.35KiB 0 0.0311765 False False
socket_to_socket_blackhole -102.11KiB -0.72 100.00% 13.92MiB 565.68KiB 11.52KiB 0 0.0396856 13.82MiB 433.28KiB 8.84KiB 0 0.0306166 False False
syslog_log2metric_splunk_hec_metrics -156.89KiB -0.83 100.00% 18.53MiB 789.91KiB 16.07KiB 0 0.0416134 18.38MiB 554.34KiB 11.3KiB 0 0.0294467 False False
syslog_splunk_hec_logs -155.1KiB -0.85 100.00% 17.82MiB 165.8KiB 3.38KiB 0 0.00908511 17.67MiB 146.91KiB 3.0KiB 0 0.00811936 False False
http_pipelines_blackhole -57.89KiB -1.23 99.89% 4.61MiB 596.53KiB 12.21KiB 0 0.12643 4.55MiB 632.78KiB 12.9KiB 0 0.13578 False False
syslog_loki -195.15KiB -1.26 100.00% 15.08MiB 500.94KiB 10.21KiB 0 0.0324369 14.89MiB 227.97KiB 4.66KiB 0 0.0149504 False False
splunk_transforms_splunk3 -184.64KiB -1.35 99.49% 13.37MiB 2.23MiB 46.62KiB 0 0.167062 13.19MiB 2.22MiB 46.51KiB 0 0.168567 False False
http_pipelines_no_grok_blackhole -262.8KiB -1.36 100.00% 18.87MiB 1.23MiB 25.71KiB 0 0.0650461 18.62MiB 1.49MiB 31.18KiB 0 0.080282 False False
http_to_http_acks -491.16KiB -2.68 96.81% 17.87MiB 7.89MiB 164.94KiB 0 0.441384 17.39MiB 7.59MiB 158.7KiB 0 0.436487 True True

Comment thread .github/semantic.yml
- aws_kinesis_streams sink # Anything `aws_kinesis_streams` sink related
- aws_s3 sink # Anything `aws_s3` sink related
- aws_sqs sink # Anything `aws_sqs` sink related
- axiom sink # Anything `axiom` sink related

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder to me/@jszwedko - we'll need to add this to the TF resource

Comment thread src/sinks/axiom.rs Resolved
Comment thread src/sinks/axiom.rs Resolved
Comment thread src/sinks/axiom.rs Resolved
Comment thread src/sinks/axiom.rs Resolved
@bahlo

bahlo commented Jun 8, 2022

Copy link
Copy Markdown
Contributor Author

Does the axiom.cue file look sane to you? Can I preview the generated docs somehow locally?

The website/ dir has a Makefile that can help out there, make serve should do "everything" and serve the docs site locally.

Perfect, that worked ✨

How are you handling upgrades for test environments? Should we open a PR each time we release a new version?

Could you expand here? @jszwedko and I (among others) have been discussing how we'd like to improve our integration test coverage, especially across versions. We could do something "simple" like integration test against a latest tag of Axiom + a stable tag?

Yeah, using a latest tag would work, we're currently evaluating this. 👍

@github-actions

github-actions Bot commented Jun 8, 2022

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: c7af84d
Comparison: 321ae9d
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
datadog_agent_remap_blackhole_acks 927.64KiB 1.29 100.00% 70.3MiB 5.76MiB 119.99KiB 0 0.0818608 71.21MiB 4.94MiB 103.21KiB 0 0.069398 False False
socket_to_socket_blackhole 129.86KiB 0.93 100.00% 13.7MiB 495.27KiB 10.1KiB 0 0.0352859 13.83MiB 502.15KiB 10.24KiB 0 0.035448 False False
http_pipelines_blackhole 33.33KiB 0.72 94.42% 4.55MiB 586.1KiB 12.01KiB 0 0.125752 4.58MiB 619.39KiB 12.63KiB 0 0.131951 False False
http_pipelines_blackhole_acks 30.83KiB 0.66 94.41% 4.53MiB 563.03KiB 11.52KiB 0 0.121317 4.56MiB 551.86KiB 11.27KiB 0 0.118125 False False
datadog_agent_remap_blackhole 296.49KiB 0.44 99.99% 66.54MiB 2.67MiB 55.93KiB 0 0.040112 66.83MiB 2.45MiB 51.26KiB 0 0.0365827 False False
http_to_http_noack 58.68KiB 0.24 99.88% 23.79MiB 856.97KiB 17.47KiB 0 0.0351748 23.84MiB 240.75KiB 4.91KiB 0 0.00985785 False False
splunk_hec_route_s3 49.28KiB 0.24 57.44% 19.97MiB 2.12MiB 44.34KiB 0 0.106219 20.02MiB 2.06MiB 43.11KiB 0 0.103021 False False
fluent_elasticsearch 55.77KiB 0.07 88.00% 79.42MiB 1.74MiB 35.83KiB 0 0.0219037 79.47MiB 54.23KiB 1.09KiB 0 0.000666219 False False
splunk_hec_indexer_ack_blackhole 9.93KiB 0.04 36.46% 23.77MiB 747.05KiB 15.2KiB 0 0.0306859 23.78MiB 706.75KiB 14.39KiB 0 0.0290186 False False
syslog_regex_logs2metric_ddmetrics 4.5KiB 0.04 17.91% 12.55MiB 673.74KiB 13.72KiB 0 0.0524152 12.55MiB 706.52KiB 14.38KiB 0 0.0549457 False False
http_to_http_json 1.54KiB 0.01 12.10% 23.84MiB 346.39KiB 7.08KiB 0 0.0141856 23.84MiB 352.08KiB 7.19KiB 0 0.0144177 False False
splunk_hec_to_splunk_hec_logs_noack -895.35B -0 7.21% 23.84MiB 334.99KiB 6.85KiB 0 0.01372 23.84MiB 332.92KiB 6.81KiB 0 0.0136359 False False
splunk_hec_to_splunk_hec_logs_acks -29.1KiB -0.12 80.96% 23.78MiB 711.43KiB 14.48KiB 0 0.0292144 23.75MiB 828.97KiB 16.85KiB 0 0.0340815 False False
http_to_http_acks -31.29KiB -0.17 10.68% 17.84MiB 7.83MiB 163.76KiB 0 0.438875 17.81MiB 7.93MiB 165.82KiB 0 0.445235 True True
file_to_blackhole -218.41KiB -0.22 98.38% 95.36MiB 2.86MiB 59.61KiB 0 0.0300269 95.14MiB 3.32MiB 68.52KiB 0 0.0348764 False False
syslog_log2metric_humio_metrics -31.95KiB -0.22 98.42% 14.3MiB 507.93KiB 10.36KiB 0 0.0346873 14.27MiB 402.56KiB 8.24KiB 0 0.0275519 False False
datadog_agent_remap_datadog_logs_acks -208.67KiB -0.28 98.93% 73.11MiB 1.78MiB 37.15KiB 0 0.0242835 72.9MiB 3.48MiB 72.73KiB 0 0.0477262 False False
splunk_transforms_splunk3 -49.96KiB -0.37 55.35% 13.08MiB 2.23MiB 46.55KiB 0 0.170417 13.03MiB 2.21MiB 46.25KiB 0 0.169561 False False
syslog_log2metric_splunk_hec_metrics -73.06KiB -0.39 99.50% 18.24MiB 974.21KiB 19.82KiB 0 0.0521443 18.17MiB 827.44KiB 16.86KiB 0 0.0444625 False False
syslog_splunk_hec_logs -79.47KiB -0.43 100.00% 18.02MiB 241.46KiB 4.93KiB 0 0.0130802 17.95MiB 260.05KiB 5.32KiB 0 0.0141481 False False
datadog_agent_remap_datadog_logs -339.62KiB -0.46 99.67% 72.08MiB 3.24MiB 67.57KiB 0 0.0448842 71.75MiB 4.48MiB 93.56KiB 0 0.0624526 False False
syslog_humio_logs -120.3KiB -0.65 100.00% 18.1MiB 153.36KiB 3.14KiB 0 0.00827245 17.98MiB 140.43KiB 2.87KiB 0 0.00762456 False False
syslog_loki -231.2KiB -1.56 100.00% 14.49MiB 524.28KiB 10.68KiB 0 0.0353298 14.26MiB 283.68KiB 5.79KiB 0 0.0194188 False False
http_pipelines_no_grok_blackhole -340.75KiB -1.71 100.00% 19.47MiB 1.23MiB 25.7KiB 0 0.0630221 19.13MiB 1.39MiB 29.03KiB 0 0.072721 False False

@jszwedko

jszwedko commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

Thanks for your work on this @bahlo ! Just let us know when it's ready for another round of review.

@github-actions

github-actions Bot commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: 4c58422
Comparison: f4563b2
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
http_to_http_noack 44.27KiB 0.18 99.38% 23.8MiB 755.75KiB 15.41KiB 0 0.030999 23.85MiB 237.61KiB 4.85KiB 0 0.00972864 False False
fluent_elasticsearch 37.13KiB 0.05 99.19% 79.44MiB 693.29KiB 13.97KiB 0 0.00852128 79.47MiB 53.0KiB 1.07KiB 0 0.000651168 False False
splunk_hec_indexer_ack_blackhole 3.38KiB 0.01 12.67% 23.77MiB 741.98KiB 15.1KiB 0 0.0304782 23.77MiB 732.05KiB 14.9KiB 0 0.030066 False False
http_to_http_json 142.25B 0 1.13% 23.84MiB 341.04KiB 6.96KiB 0 0.0139656 23.84MiB 339.4KiB 6.93KiB 0 0.0138985 False False
splunk_hec_to_splunk_hec_logs_noack -143.97B -0 1.16% 23.84MiB 333.03KiB 6.82KiB 0 0.0136403 23.84MiB 334.04KiB 6.84KiB 0 0.0136819 False False
splunk_hec_to_splunk_hec_logs_acks -2.26KiB -0.01 7.69% 23.76MiB 813.87KiB 16.55KiB 0 0.0334511 23.75MiB 813.17KiB 16.54KiB 0 0.0334254 False False
datadog_agent_remap_blackhole_acks -57.55KiB -0.08 40.55% 67.9MiB 4.09MiB 85.23KiB 0 0.0601629 67.85MiB 3.18MiB 66.5KiB 0 0.0469233 False False
http_pipelines_blackhole -5.9KiB -0.12 26.67% 4.67MiB 600.83KiB 12.3KiB 0 0.125693 4.66MiB 598.23KiB 12.2KiB 0 0.125304 False False
file_to_blackhole -159.56KiB -0.16 95.42% 95.3MiB 2.02MiB 41.98KiB 0 0.0211945 95.14MiB 3.29MiB 67.92KiB 0 0.0345805 False False
http_pipelines_blackhole_acks -9.4KiB -0.2 44.29% 4.52MiB 553.12KiB 11.31KiB 0 0.119407 4.51MiB 555.19KiB 11.34KiB 0 0.120098 False False
datadog_agent_remap_datadog_logs -153.47KiB -0.21 87.07% 72.4MiB 3.25MiB 67.79KiB 0 0.0448403 72.25MiB 3.59MiB 75.09KiB 0 0.0496695 False False
splunk_transforms_splunk3 -47.25KiB -0.36 53.16% 12.96MiB 2.21MiB 46.11KiB 0 0.170429 12.91MiB 2.2MiB 46.03KiB 0 0.170142 False False
datadog_agent_remap_blackhole -274.96KiB -0.38 100.00% 71.24MiB 751.53KiB 15.38KiB 0 0.0102998 70.97MiB 968.19KiB 19.82KiB 0 0.0133192 False False
syslog_regex_logs2metric_ddmetrics -73.11KiB -0.56 99.97% 12.65MiB 701.44KiB 14.27KiB 0 0.0541563 12.57MiB 696.24KiB 14.16KiB 0 0.0540595 False False
socket_to_socket_blackhole -86.25KiB -0.61 100.00% 13.9MiB 595.94KiB 12.13KiB 0 0.0418476 13.82MiB 466.1KiB 9.5KiB 0 0.0329292 False False
datadog_agent_remap_datadog_logs_acks -454.14KiB -0.62 100.00% 71.97MiB 1.98MiB 41.34KiB 0 0.0274555 71.52MiB 3.67MiB 76.7KiB 0 0.0512592 False False
splunk_hec_route_s3 -166.17KiB -0.82 99.29% 19.88MiB 2.08MiB 43.54KiB 0 0.104752 19.72MiB 2.09MiB 43.73KiB 0 0.106068 False False
syslog_splunk_hec_logs -246.72KiB -1.36 100.00% 17.72MiB 736.25KiB 15.03KiB 0 0.0405566 17.48MiB 771.48KiB 15.76KiB 0 0.0430828 False False
syslog_log2metric_splunk_hec_metrics -273.92KiB -1.47 100.00% 18.24MiB 915.83KiB 18.63KiB 0 0.0490273 17.97MiB 679.95KiB 13.86KiB 0 0.0369418 False False
syslog_humio_logs -300.66KiB -1.68 100.00% 17.45MiB 441.18KiB 9.04KiB 0 0.0246805 17.16MiB 493.96KiB 10.11KiB 0 0.0281057 False False
http_pipelines_no_grok_blackhole -408.07KiB -2.07 100.00% 19.22MiB 1.52MiB 31.89KiB 0 0.0792727 18.82MiB 1.64MiB 34.21KiB 0 0.087129 False False
http_to_http_acks -387.2KiB -2.12 90.91% 17.85MiB 7.78MiB 162.82KiB 0 0.436058 17.47MiB 7.7MiB 161.0KiB 0 0.44078 True True
syslog_loki -500.5KiB -3.26 100.00% 15.0MiB 624.16KiB 12.73KiB 0 0.0406181 14.51MiB 489.13KiB 9.99KiB 0 0.0329028 False False
syslog_log2metric_humio_metrics -805.9KiB -5.64 100.00% 13.94MiB 1.05MiB 21.86KiB 0 0.0750565 13.16MiB 1.48MiB 31.05KiB 0 0.112504 False False

@bahlo

bahlo commented Jun 10, 2022

Copy link
Copy Markdown
Contributor Author

@jszwedko @spencergilbert This is ready for another round of review 🙂 I switched the integration tests over to use :latest. The only thing missing now is timestamp-field support in Axiom, but that won't change any code in this PR (and will land soon).

@jszwedko jszwedko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks for this contribution @bahlo ! I left a few comments, but nothing major.

Comment thread src/sinks/axiom.rs Resolved
Comment thread src/sinks/axiom.rs Resolved
Comment thread src/sinks/axiom.rs Resolved
Comment thread src/sinks/axiom.rs Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: a73415b
Comparison: 7caf2b8
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

Changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

experiment Δ mean Δ mean % confidence
datadog_agent_remap_datadog_logs 6.77MiB 10.27 100.00%
datadog_agent_remap_datadog_logs_acks 6.23MiB 9.3 100.00%
Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
datadog_agent_remap_datadog_logs 6.77MiB 10.27 100.00% 65.97MiB 2.96MiB 61.8KiB 0 0.04487 72.74MiB 3.98MiB 83.1KiB 0 0.0546411 False False
datadog_agent_remap_datadog_logs_acks 6.23MiB 9.3 100.00% 67.01MiB 1.77MiB 37.02KiB 0 0.02643 73.24MiB 3.61MiB 75.33KiB 0 0.0492181 False False
datadog_agent_remap_blackhole 4.47MiB 7.8 100.00% 57.31MiB 7.33MiB 153.55KiB 0 0.127804 61.79MiB 7.9MiB 165.75KiB 0 0.127891 False False
datadog_agent_remap_blackhole_acks 4.92MiB 7.59 100.00% 64.79MiB 3.16MiB 65.89KiB 0 0.048702 69.71MiB 2.15MiB 45.02KiB 0 0.0308999 False False
syslog_humio_logs 577.95KiB 3.37 100.00% 16.77MiB 464.31KiB 9.52KiB 0 0.0270379 17.33MiB 609.15KiB 12.47KiB 0 0.0343172 False False
http_pipelines_no_grok_blackhole 624.34KiB 3.27 100.00% 18.66MiB 1.3MiB 27.34KiB 0 0.0698965 19.27MiB 1.56MiB 32.58KiB 0 0.081009 False False
syslog_log2metric_humio_metrics 337.36KiB 2.3 100.00% 14.31MiB 516.48KiB 10.52KiB 0 0.035244 14.64MiB 182.54KiB 3.73KiB 0 0.0121759 False False
syslog_splunk_hec_logs 369.04KiB 2.18 100.00% 16.56MiB 1.11MiB 23.27KiB 0 0.0672412 16.92MiB 1.53MiB 31.91KiB 0 0.0901469 False False
splunk_transforms_splunk3 278.67KiB 2.16 100.00% 12.58MiB 2.2MiB 45.95KiB 0 0.174831 12.86MiB 2.22MiB 46.49KiB 0 0.1727 False False
http_pipelines_blackhole 60.68KiB 1.32 99.94% 4.49MiB 618.72KiB 12.68KiB 0 0.134415 4.55MiB 610.97KiB 12.47KiB 0 0.131003 False False
syslog_regex_logs2metric_ddmetrics 170.84KiB 1.31 100.00% 12.73MiB 673.26KiB 13.71KiB 0 0.0516507 12.89MiB 727.93KiB 14.81KiB 0 0.0551226 False False
socket_to_socket_blackhole 91.32KiB 0.65 100.00% 13.75MiB 473.96KiB 9.66KiB 0 0.0336608 13.84MiB 456.76KiB 9.32KiB 0 0.0322301 False False
syslog_log2metric_splunk_hec_metrics 116.22KiB 0.62 100.00% 18.42MiB 853.15KiB 17.35KiB 0 0.0452253 18.53MiB 574.96KiB 11.72KiB 0 0.0302916 False False
http_pipelines_blackhole_acks 24.96KiB 0.57 82.33% 4.3MiB 642.67KiB 13.15KiB 0 0.145922 4.32MiB 635.37KiB 12.97KiB 0 0.143454 False False
http_to_http_noack 86.72KiB 0.36 99.99% 23.76MiB 1.01MiB 21.03KiB 0 0.0424144 23.84MiB 241.07KiB 4.92KiB 0 0.00987079 False False
fluent_elasticsearch 109.05KiB 0.13 98.94% 79.37MiB 2.07MiB 42.61KiB 0 0.026096 79.47MiB 53.19KiB 1.07KiB 0 0.000653432 False False
http_to_http_json 1.55KiB 0.01 12.47% 23.84MiB 343.48KiB 7.02KiB 0 0.014066 23.84MiB 342.79KiB 7.0KiB 0 0.014037 False False
splunk_hec_to_splunk_hec_logs_noack -771.23B -0 6.10% 23.84MiB 338.92KiB 6.94KiB 0 0.0138822 23.84MiB 340.96KiB 6.98KiB 0 0.0139659 False False
splunk_hec_route_s3 -5.81KiB -0.03 7.40% 19.81MiB 2.11MiB 44.19KiB 0 0.106712 19.8MiB 2.11MiB 44.2KiB 0 0.106768 False False
splunk_hec_to_splunk_hec_logs_acks -15.23KiB -0.06 51.23% 23.77MiB 731.93KiB 14.9KiB 0 0.0300604 23.76MiB 792.45KiB 16.12KiB 0 0.0325664 False False
splunk_hec_indexer_ack_blackhole -15.21KiB -0.06 52.26% 23.77MiB 717.86KiB 14.61KiB 0 0.0294805 23.76MiB 769.44KiB 15.65KiB 0 0.0316185 False False
file_to_blackhole -173.28KiB -0.18 95.46% 95.35MiB 2.91MiB 60.55KiB 0 0.0304951 95.18MiB 2.99MiB 61.86KiB 0 0.0314589 False False
syslog_loki -332.12KiB -2.17 100.00% 14.92MiB 712.9KiB 14.53KiB 0 0.0466665 14.59MiB 569.79KiB 11.64KiB 0 0.0381272 False False
http_to_http_acks -593.5KiB -3.25 98.93% 17.84MiB 7.79MiB 162.74KiB 0 0.436337 17.26MiB 7.95MiB 166.13KiB 0 0.460374 True True

@spencergilbert spencergilbert left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 looking forward to seeing Vector make it to y'alls docs! 😄

@jszwedko jszwedko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I left one last comment about accepting traces, but otherwise this looks good.

@spencergilbert
spencergilbert requested a review from jszwedko June 21, 2022 16:04
Comment thread axicfg/vector.toml Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: a987ef3
Comparison: e31b35a
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
http_to_http_acks 555.8KiB 3.14 98.12% 17.28MiB 7.9MiB 165.25KiB 0 0.457196 17.83MiB 8.1MiB 169.26KiB 0 0.45414 True True
syslog_log2metric_splunk_hec_metrics 418.85KiB 2.45 100.00% 16.72MiB 982.76KiB 19.99KiB 0 0.0573741 17.13MiB 871.93KiB 17.75KiB 0 0.0496882 False False
socket_to_socket_blackhole 179.07KiB 1.31 100.00% 13.3MiB 530.28KiB 10.8KiB 0 0.0389155 13.48MiB 409.69KiB 8.36KiB 0 0.0296757 False False
datadog_agent_remap_blackhole 952.07KiB 1.28 100.00% 72.45MiB 2.19MiB 45.96KiB 0 0.0302374 73.38MiB 1.63MiB 34.19KiB 0 0.0222468 False False
datadog_agent_remap_blackhole_acks 872.33KiB 1.17 100.00% 72.56MiB 4.03MiB 84.15KiB 0 0.0555751 73.41MiB 2.65MiB 55.28KiB 0 0.0360419 False False
syslog_regex_logs2metric_ddmetrics 128.26KiB 1.06 100.00% 11.79MiB 1.0MiB 20.9KiB 0 0.0849966 11.92MiB 991.03KiB 20.16KiB 0 0.0811756 False False
datadog_agent_remap_datadog_logs 486.51KiB 0.7 100.00% 67.88MiB 3.91MiB 81.55KiB 0 0.05753 68.35MiB 3.98MiB 83.19KiB 0 0.0582655 False False
syslog_log2metric_humio_metrics 96.86KiB 0.68 100.00% 13.81MiB 512.03KiB 10.44KiB 0 0.0361885 13.91MiB 334.91KiB 6.85KiB 0 0.0235097 False False
http_pipelines_no_grok_blackhole 85.26KiB 0.5 95.38% 16.7MiB 1.45MiB 30.26KiB 0 0.0867076 16.78MiB 1.45MiB 30.2KiB 0 0.086251 False False
http_to_http_noack 79.55KiB 0.33 99.99% 23.77MiB 988.78KiB 20.15KiB 0 0.0406155 23.85MiB 236.27KiB 4.82KiB 0 0.00967347 False False
syslog_splunk_hec_logs 47.94KiB 0.28 100.00% 16.72MiB 139.61KiB 2.85KiB 0 0.00815396 16.76MiB 120.1KiB 2.46KiB 0 0.00699492 False False
syslog_humio_logs 47.69KiB 0.28 100.00% 16.66MiB 133.6KiB 2.74KiB 0 0.0078317 16.7MiB 120.2KiB 2.46KiB 0 0.00702606 False False
http_pipelines_blackhole 5.17KiB 0.12 21.72% 4.23MiB 621.11KiB 12.72KiB 0 0.143313 4.24MiB 674.84KiB 13.76KiB 0 0.155525 False False
fluent_elasticsearch 75.9KiB 0.09 99.90% 79.4MiB 1.12MiB 23.04KiB 0 0.0140738 79.47MiB 51.19KiB 1.03KiB 0 0.000628946 False False
http_pipelines_blackhole_acks 1.42KiB 0.03 6.51% 4.23MiB 600.38KiB 12.27KiB 0 0.138543 4.23MiB 603.27KiB 12.33KiB 0 0.139164 False False
http_to_http_json -710.75B -0 5.81% 23.85MiB 331.12KiB 6.76KiB 0 0.0135575 23.85MiB 327.94KiB 6.69KiB 0 0.0134277 False False
splunk_hec_indexer_ack_blackhole -64.77B -0 0.25% 23.78MiB 711.85KiB 14.49KiB 0 0.02923 23.78MiB 711.21KiB 14.48KiB 0 0.029204 False False
splunk_hec_to_splunk_hec_logs_noack -1.27KiB -0.01 10.74% 23.84MiB 324.0KiB 6.63KiB 0 0.0132712 23.84MiB 324.29KiB 6.64KiB 0 0.0132837 False False
splunk_hec_to_splunk_hec_logs_acks -3.13KiB -0.01 10.92% 23.77MiB 814.43KiB 16.57KiB 0 0.0334597 23.76MiB 770.57KiB 15.68KiB 0 0.0316617 False False
datadog_agent_remap_datadog_logs_acks -70.93KiB -0.1 67.28% 68.94MiB 1.17MiB 24.5KiB 0 0.0169925 68.87MiB 3.26MiB 68.1KiB 0 0.04732 False False
file_to_blackhole -215.78KiB -0.22 98.30% 95.36MiB 2.91MiB 60.63KiB 0 0.0305424 95.15MiB 3.24MiB 66.97KiB 0 0.0340852 False False
splunk_hec_route_s3 -73.06KiB -0.36 75.79% 19.62MiB 2.11MiB 44.04KiB 0 0.107379 19.55MiB 2.12MiB 44.27KiB 0 0.10833 False False
syslog_loki -64.23KiB -0.42 100.00% 14.94MiB 499.92KiB 10.19KiB 0 0.0326803 14.87MiB 127.23KiB 2.6KiB 0 0.0083523 False False

@github-actions

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: 0cdad7d
Comparison: 28edeb7
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

Changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

experiment Δ mean Δ mean % confidence
http_pipelines_blackhole_acks 440.76KiB 11.3 100.00%
datadog_agent_remap_blackhole 6.12MiB 9.04 100.00%
Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
http_pipelines_blackhole_acks 440.76KiB 11.3 100.00% 3.81MiB 668.25KiB 13.67KiB 0 0.171359 4.24MiB 668.76KiB 13.66KiB 0 0.154072 False False
datadog_agent_remap_blackhole 6.12MiB 9.04 100.00% 67.71MiB 6.25MiB 131.03KiB 0 0.0923476 73.83MiB 2.66MiB 55.82KiB 0 0.0360856 False False
syslog_log2metric_splunk_hec_metrics 276.25KiB 1.55 100.00% 17.36MiB 979.72KiB 19.93KiB 0 0.0550977 17.63MiB 547.37KiB 11.16KiB 0 0.0303123 False False
splunk_hec_route_s3 217.27KiB 1.14 99.86% 18.57MiB 2.29MiB 47.9KiB 0 0.123411 18.78MiB 2.29MiB 47.92KiB 0 0.122051 False False
socket_to_socket_blackhole 86.71KiB 0.63 100.00% 13.39MiB 585.26KiB 11.91KiB 0 0.0426751 13.47MiB 300.43KiB 6.14KiB 0 0.0217686 False False
datadog_agent_remap_datadog_logs 345.94KiB 0.49 99.99% 68.77MiB 2.22MiB 46.39KiB 0 0.0322903 69.11MiB 3.45MiB 72.02KiB 0 0.0498472 False False
syslog_loki 70.37KiB 0.46 100.00% 14.83MiB 577.94KiB 11.78KiB 0 0.0380414 14.9MiB 136.95KiB 2.8KiB 0 0.00897267 False False
http_to_http_noack 105.73KiB 0.43 100.00% 23.74MiB 1.11MiB 23.06KiB 0 0.0465682 23.85MiB 238.87KiB 4.88KiB 0 0.00977992 False False
http_pipelines_no_grok_blackhole 67.27KiB 0.38 92.34% 17.38MiB 1.13MiB 23.56KiB 0 0.0647309 17.45MiB 1.43MiB 29.78KiB 0 0.0818315 False False
datadog_agent_remap_blackhole_acks 197.74KiB 0.26 94.19% 74.38MiB 4.15MiB 86.5KiB 0 0.055765 74.57MiB 2.79MiB 58.29KiB 0 0.0374271 False False
syslog_splunk_hec_logs 40.58KiB 0.24 100.00% 16.7MiB 165.32KiB 3.37KiB 0 0.00966529 16.74MiB 117.18KiB 2.39KiB 0 0.00683468 False False
http_to_http_acks 37.33KiB 0.2 12.37% 17.98MiB 8.29MiB 173.29KiB 0 0.461073 18.01MiB 7.94MiB 165.9KiB 0 0.440507 True True
splunk_hec_indexer_ack_blackhole 28.95KiB 0.12 81.93% 23.75MiB 808.76KiB 16.45KiB 0 0.0332434 23.78MiB 689.51KiB 14.04KiB 0 0.028308 False False
syslog_humio_logs 16.52KiB 0.1 78.13% 16.19MiB 474.7KiB 9.73KiB 0 0.0286292 16.2MiB 451.78KiB 9.25KiB 0 0.0272201 False False
fluent_elasticsearch 82.26KiB 0.1 97.45% 79.39MiB 1.79MiB 36.79KiB 0 0.0225054 79.47MiB 52.36KiB 1.05KiB 0 0.000643225 False False
syslog_regex_logs2metric_ddmetrics 8.48KiB 0.07 23.73% 11.64MiB 978.0KiB 19.91KiB 0 0.0820525 11.65MiB 973.38KiB 19.8KiB 0 0.0816066 False False
splunk_hec_to_splunk_hec_logs_acks 12.08KiB 0.05 42.15% 23.77MiB 776.07KiB 15.79KiB 0 0.0318809 23.78MiB 733.59KiB 14.93KiB 0 0.0301209 False False
splunk_hec_to_splunk_hec_logs_noack -1.04KiB -0 8.77% 23.84MiB 324.2KiB 6.64KiB 0 0.0132786 23.84MiB 325.15KiB 6.65KiB 0 0.013318 False False
http_to_http_json 231.88B 0 1.92% 23.85MiB 326.11KiB 6.66KiB 0 0.0133522 23.85MiB 323.93KiB 6.61KiB 0 0.0132629 False False
http_pipelines_blackhole -7.53KiB -0.17 30.29% 4.23MiB 666.8KiB 13.66KiB 0 0.154068 4.22MiB 672.64KiB 13.72KiB 0 0.155689 False False
file_to_blackhole -357.83KiB -0.37 97.94% 95.18MiB 4.45MiB 92.42KiB 0 0.0467719 94.83MiB 6.0MiB 123.81KiB 0 0.0632981 False False
syslog_log2metric_humio_metrics -89.68KiB -0.71 89.67% 12.28MiB 1.87MiB 39.08KiB 0 0.152439 12.19MiB 1.85MiB 38.75KiB 0 0.151615 False False
datadog_agent_remap_datadog_logs_acks -608.87KiB -0.87 100.00% 68.59MiB 1.36MiB 28.44KiB 0 0.019811 68.0MiB 3.51MiB 73.4KiB 0 0.0516328 False False

@spencergilbert

Copy link
Copy Markdown
Contributor

@bahlo what else is needed/waiting for merging - don't want you to keep getting conflicts 🙂

bahlo added 3 commits June 23, 2022 11:54
This adds a sink for Axiom [0]. Axiom has support for the Elasticsearch
bulk API, so this sink is wrapping the `elasticsearch` sink.

[0]: https://axiom.co
@spencergilbert

spencergilbert commented Jun 23, 2022 •

Copy link
Copy Markdown
Contributor

@spencergilbert Just rebased and resolved conflicts, I think this is ready to land 🛬🙌

Excellent! I've kicked off CI again and will make sure we get this re-reviewed today

@github-actions

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: 96973fa
Comparison: d51c59f
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

Changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

experiment Δ mean Δ mean % confidence
http_pipelines_blackhole -192.98KiB -11.59 100.00%
Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
splunk_hec_route_s3 627.69KiB 3.27 100.00% 18.73MiB 2.49MiB 51.87KiB 0 0.132976 19.34MiB 2.24MiB 46.89KiB 0 0.11583 False False
http_text_to_http_json 1.09MiB 2.81 100.00% 38.75MiB 917.94KiB 18.74KiB 0 0.0231316 39.83MiB 732.6KiB 14.96KiB 0 0.0179568 False False
syslog_splunk_hec_logs 119.97KiB 0.71 100.00% 16.6MiB 737.14KiB 15.01KiB 0 0.043351 16.72MiB 538.16KiB 10.99KiB 0 0.0314274 False False
syslog_humio_logs 80.49KiB 0.5 98.95% 15.57MiB 1.1MiB 22.91KiB 0 0.0703376 15.65MiB 1.03MiB 21.54KiB 0 0.0656609 False False
syslog_regex_logs2metric_ddmetrics 41.74KiB 0.33 98.26% 12.52MiB 592.12KiB 12.06KiB 0 0.0461583 12.57MiB 625.1KiB 12.73KiB 0 0.0485711 False False
http_pipelines_blackhole_acks 3.24KiB 0.27 68.26% 1.17MiB 121.66KiB 2.48KiB 0 0.101438 1.17MiB 102.63KiB 2.09KiB 0 0.0853379 False False
splunk_hec_to_splunk_hec_logs_noack 15.71KiB 0.06 81.59% 23.82MiB 477.11KiB 9.74KiB 0 0.0195554 23.84MiB 328.2KiB 6.7KiB 0 0.0134435 False False
datadog_agent_remap_blackhole_acks 19.44KiB 0.03 13.18% 65.94MiB 4.65MiB 96.75KiB 0 0.0704428 65.96MiB 3.16MiB 66.05KiB 0 0.0478534 False False
splunk_hec_indexer_ack_blackhole -775.77B -0 2.29% 23.75MiB 915.07KiB 18.61KiB 0 0.0376228 23.75MiB 918.29KiB 18.68KiB 0 0.0377562 False False
splunk_hec_to_splunk_hec_logs_acks -17.81KiB -0.07 54.68% 23.77MiB 783.01KiB 15.94KiB 0 0.0321667 23.75MiB 865.32KiB 17.6KiB 0 0.0355739 False False
socket_to_socket_blackhole -10.03KiB -0.07 99.59% 13.59MiB 137.97KiB 2.82KiB 0 0.00991034 13.58MiB 101.15KiB 2.07KiB 0 0.00727051 False False
file_to_blackhole -97.34KiB -0.1 58.80% 95.31MiB 3.63MiB 75.13KiB 0 0.0380584 95.21MiB 4.42MiB 91.81KiB 0 0.0464082 False False
http_to_http_json -30.48KiB -0.12 98.70% 23.85MiB 335.69KiB 6.86KiB 0 0.0137444 23.82MiB 497.6KiB 10.17KiB 0 0.0203991 False False
fluent_elasticsearch -278.46KiB -0.34 100.00% 79.47MiB 53.21KiB 1.07KiB 0 0.000653766 79.2MiB 2.9MiB 59.39KiB 0 0.0365893 False False
syslog_log2metric_splunk_hec_metrics -76.15KiB -0.44 99.80% 17.02MiB 816.39KiB 16.63KiB 0 0.0468194 16.95MiB 888.16KiB 18.09KiB 0 0.0511587 False False
http_to_http_noack -106.64KiB -0.44 100.00% 23.85MiB 244.95KiB 5.01KiB 0 0.0100296 23.74MiB 1.09MiB 22.73KiB 0 0.0459114 False False
syslog_loki -84.35KiB -0.54 100.00% 15.18MiB 353.6KiB 7.24KiB 0 0.0227474 15.09MiB 773.86KiB 15.73KiB 0 0.0500543 False False
datadog_agent_remap_datadog_logs -420.82KiB -0.61 100.00% 67.08MiB 513.84KiB 10.52KiB 0 0.00747944 66.67MiB 4.24MiB 88.27KiB 0 0.0635465 False False
syslog_log2metric_humio_metrics -86.87KiB -0.62 100.00% 13.77MiB 276.36KiB 5.64KiB 0 0.0195954 13.69MiB 589.51KiB 12.0KiB 0 0.0420581 False False
datadog_agent_remap_blackhole -401.68KiB -0.65 94.25% 60.21MiB 7.3MiB 152.21KiB 0 0.121218 59.82MiB 7.03MiB 146.75KiB 0 0.117536 False False
datadog_agent_remap_datadog_logs_acks -495.46KiB -0.72 100.00% 67.56MiB 2.86MiB 59.82KiB 0 0.0422993 67.08MiB 4.78MiB 99.43KiB 0 0.071195 False False
http_pipelines_no_grok_blackhole -90.2KiB -0.74 99.98% 11.85MiB 326.78KiB 6.67KiB 0 0.0269236 11.76MiB 1.12MiB 23.39KiB 0 0.0954385 False False
http_to_http_acks -513.56KiB -2.74 96.70% 18.3MiB 8.14MiB 170.12KiB 0 0.444643 17.8MiB 8.17MiB 170.37KiB 0 0.458787 True True
http_pipelines_blackhole -192.98KiB -11.59 100.00% 1.63MiB 57.12KiB 1.17KiB 0 0.0342833 1.44MiB 257.01KiB 5.24KiB 0 0.174482 False False

@spencergilbert spencergilbert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we missed updating these two places after the discussion here.

Comment thread src/sinks/axiom.rs Resolved
@spencergilbert

Copy link
Copy Markdown
Contributor

Of course there are cue problems, @jszwedko are you able to push a fix for that or would you like for me to look?

@bahlo

bahlo commented Jun 27, 2022

Copy link
Copy Markdown
Contributor Author

Do I need to add the Axiom integration tests to the GitHub Actions workflow or do you have a different process for that?

@github-actions

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: 0ce7409
Comparison: dc5f52b
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
syslog_splunk_hec_logs 574.06KiB 3.47 100.00% 16.14MiB 1.23MiB 25.65KiB 0 0.0762915 16.7MiB 673.3KiB 13.72KiB 0 0.0393737 False False
datadog_agent_remap_blackhole 622.3KiB 0.96 100.00% 63.51MiB 4.51MiB 94.09KiB 0 0.0710436 64.11MiB 4.25MiB 88.51KiB 0 0.0662087 False False
datadog_agent_remap_blackhole_acks 394.51KiB 0.58 99.91% 66.52MiB 4.59MiB 95.66KiB 0 0.0690083 66.91MiB 3.4MiB 71.14KiB 0 0.0508271 False False
syslog_log2metric_humio_metrics 50.77KiB 0.36 100.00% 13.78MiB 345.45KiB 7.05KiB 0 0.0244691 13.83MiB 500.15KiB 10.19KiB 0 0.0352993 False False
syslog_humio_logs 37.8KiB 0.22 100.00% 16.42MiB 121.7KiB 2.48KiB 0 0.00723552 16.46MiB 127.73KiB 2.62KiB 0 0.00757729 False False
syslog_log2metric_splunk_hec_metrics 31.25KiB 0.18 81.34% 17.18MiB 787.02KiB 16.02KiB 0 0.0447268 17.21MiB 855.82KiB 17.41KiB 0 0.0485508 False False
syslog_regex_logs2metric_ddmetrics 19.3KiB 0.15 75.86% 12.34MiB 556.34KiB 11.34KiB 0 0.04403 12.36MiB 586.46KiB 11.95KiB 0 0.0463427 False False
http_to_http_acks 9.67KiB 0.05 3.25% 17.82MiB 8.16MiB 170.62KiB 0 0.457905 17.82MiB 7.93MiB 165.64KiB 0 0.444763 True True
http_pipelines_blackhole_acks 500.92B 0.04 15.99% 1.2MiB 106.65KiB 2.17KiB 0 0.0869674 1.2MiB 52.94KiB 1.08KiB 0 0.0431568 False False
splunk_hec_to_splunk_hec_logs_noack 5.94KiB 0.02 43.34% 23.84MiB 377.84KiB 7.71KiB 0 0.0154767 23.84MiB 338.74KiB 6.91KiB 0 0.0138718 False False
splunk_hec_to_splunk_hec_logs_acks -5.3KiB -0.02 17.27% 23.75MiB 835.07KiB 16.99KiB 0 0.0343273 23.75MiB 854.87KiB 17.38KiB 0 0.0351488 False False
splunk_hec_indexer_ack_blackhole -7.62KiB -0.03 23.56% 23.75MiB 867.7KiB 17.65KiB 0 0.035669 23.74MiB 900.72KiB 18.32KiB 0 0.0370378 False False
file_to_blackhole -48.3KiB -0.05 34.75% 95.35MiB 3.38MiB 70.1KiB 0 0.0354601 95.3MiB 3.9MiB 81.2KiB 0 0.040925 False False
http_to_http_json -26.77KiB -0.11 97.65% 23.85MiB 324.98KiB 6.63KiB 0 0.0133056 23.82MiB 477.91KiB 9.77KiB 0 0.0195885 False False
splunk_hec_route_s3 -24.14KiB -0.13 24.41% 17.68MiB 2.63MiB 54.9KiB 0 0.148975 17.66MiB 2.63MiB 54.92KiB 0 0.148854 False False
http_to_http_noack -51.89KiB -0.21 99.12% 23.84MiB 405.3KiB 8.29KiB 0 0.0166012 23.79MiB 881.98KiB 17.98KiB 0 0.0362031 False False
fluent_elasticsearch -395.98KiB -0.49 100.00% 79.47MiB 53.92KiB 1.09KiB 0 0.000662398 79.09MiB 3.98MiB 81.81KiB 0 0.0503571 False False
http_pipelines_blackhole -17.86KiB -1.03 100.00% 1.69MiB 13.39KiB 280.3B 0 0.00774578 1.67MiB 93.08KiB 1.9KiB 0 0.0543935 False False
syslog_loki -169.49KiB -1.12 100.00% 14.76MiB 489.6KiB 10.03KiB 0 0.0323793 14.6MiB 841.93KiB 17.11KiB 0 0.0563127 False False
datadog_agent_remap_datadog_logs_acks -940.98KiB -1.35 100.00% 67.84MiB 4.04MiB 84.24KiB 0 0.0595001 66.92MiB 4.76MiB 99.08KiB 0 0.071116 False False
datadog_agent_remap_datadog_logs -985.41KiB -1.44 100.00% 66.82MiB 431.93KiB 8.85KiB 0 0.00631125 65.86MiB 4.15MiB 86.4KiB 0 0.0629577 False False
http_pipelines_no_grok_blackhole -247.53KiB -2 100.00% 12.09MiB 287.03KiB 5.86KiB 0 0.0231851 11.85MiB 1.18MiB 24.5KiB 0 0.0993028 False False
socket_to_socket_blackhole -288.59KiB -2.05 100.00% 13.76MiB 328.81KiB 6.71KiB 0 0.0233286 13.48MiB 318.98KiB 6.51KiB 0 0.023104 False False
http_text_to_http_json -2.15MiB -5.25 100.00% 40.85MiB 986.96KiB 20.15KiB 0 0.0235917 38.7MiB 1.1MiB 23.08KiB 0 0.028529 False False

jszwedko added 2 commits June 27, 2022 08:54
Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
@jszwedko

Copy link
Copy Markdown
Contributor

👍 I pushed a commit adjusting the cue file and another adding axiom to the CI integration tests

@jszwedko

Copy link
Copy Markdown
Contributor

Hey @bahlo ! It seems like the integration test here is failing (sinks::axiom::integration_tests::axiom_logs_put_data). I see the same failure locally so it doesn't seem isolated to CI. Would you mind taking a look?

@github-actions

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: de0b330
Comparison: a2dc207
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
datadog_agent_remap_blackhole 1.34MiB 2.11 100.00% 63.58MiB 4.08MiB 85.03KiB 0 0.0641792 64.92MiB 3.35MiB 69.78KiB 0 0.0515166 False False
datadog_agent_remap_blackhole_acks 1.07MiB 1.61 100.00% 66.38MiB 4.86MiB 101.28KiB 0 0.0732694 67.44MiB 2.46MiB 51.5KiB 0 0.0364382 False False
http_to_http_acks 250.96KiB 1.38 71.20% 17.81MiB 8.09MiB 169.07KiB 0 0.454007 18.06MiB 7.9MiB 164.87KiB 0 0.437179 True True
syslog_log2metric_humio_metrics 160.63KiB 1.17 100.00% 13.46MiB 608.66KiB 12.42KiB 0 0.04415 13.62MiB 761.93KiB 15.52KiB 0 0.0546311 False False
syslog_splunk_hec_logs 136.86KiB 0.82 100.00% 16.29MiB 804.72KiB 16.37KiB 0 0.0482343 16.42MiB 603.41KiB 12.32KiB 0 0.0358735 False False
syslog_humio_logs 49.17KiB 0.29 100.00% 16.4MiB 123.15KiB 2.51KiB 0 0.0073337 16.44MiB 152.37KiB 3.12KiB 0 0.00904748 False False
splunk_hec_route_s3 47.35KiB 0.26 48.95% 17.54MiB 2.44MiB 50.86KiB 0 0.139196 17.59MiB 2.43MiB 50.91KiB 0 0.13836 False False
syslog_regex_logs2metric_ddmetrics 31.26KiB 0.25 97.91% 11.99MiB 511.26KiB 10.41KiB 0 0.0416339 12.02MiB 424.04KiB 8.64KiB 0 0.0344434 False False
http_pipelines_blackhole_acks 1.94KiB 0.16 53.56% 1.2MiB 104.15KiB 2.12KiB 0 0.0849974 1.2MiB 78.02KiB 1.59KiB 0 0.0635732 False False
syslog_log2metric_splunk_hec_metrics 11.64KiB 0.07 41.92% 17.18MiB 637.6KiB 13.0KiB 0 0.0362399 17.19MiB 814.94KiB 16.59KiB 0 0.0462892 False False
splunk_hec_to_splunk_hec_logs_noack 10.22KiB 0.04 64.68% 23.83MiB 417.78KiB 8.53KiB 0 0.017117 23.84MiB 341.14KiB 6.96KiB 0 0.013971 False False
splunk_hec_to_splunk_hec_logs_acks 639.92B 0 2.01% 23.75MiB 866.94KiB 17.63KiB 0 0.0356434 23.75MiB 859.82KiB 17.49KiB 0 0.0353498 False False
syslog_loki -9.24KiB -0.06 38.55% 15.07MiB 426.16KiB 8.72KiB 0 0.0276045 15.06MiB 794.35KiB 16.15KiB 0 0.0514845 False False
splunk_hec_indexer_ack_blackhole -15.21KiB -0.06 47.88% 23.76MiB 786.42KiB 16.0KiB 0 0.0323123 23.75MiB 859.71KiB 17.48KiB 0 0.0353457 False False
file_to_blackhole -66.25KiB -0.07 45.81% 95.34MiB 3.5MiB 72.5KiB 0 0.0366749 95.27MiB 3.89MiB 80.87KiB 0 0.0408105 False False
http_to_http_json -27.33KiB -0.11 97.95% 23.85MiB 352.25KiB 7.19KiB 0 0.0144222 23.82MiB 457.32KiB 9.34KiB 0 0.0187454 False False
http_to_http_noack -68.82KiB -0.28 99.83% 23.83MiB 410.22KiB 8.39KiB 0 0.0168039 23.77MiB 993.34KiB 20.24KiB 0 0.0408056 False False
socket_to_socket_blackhole -44.27KiB -0.31 100.00% 13.73MiB 155.54KiB 3.17KiB 0 0.0110615 13.69MiB 129.73KiB 2.65KiB 0 0.00925522 False False
fluent_elasticsearch -390.01KiB -0.48 100.00% 79.47MiB 54.51KiB 1.1KiB 0 0.000669688 79.09MiB 3.78MiB 77.61KiB 0 0.04777 False False
datadog_agent_remap_datadog_logs -335.32KiB -0.49 99.94% 67.2MiB 767.79KiB 15.72KiB 0 0.011155 66.87MiB 4.62MiB 96.15KiB 0 0.0690418 False False
datadog_agent_remap_datadog_logs_acks -577.62KiB -0.84 100.00% 67.28MiB 3.54MiB 74.06KiB 0 0.0526773 66.71MiB 4.63MiB 96.45KiB 0 0.069428 False False
http_pipelines_no_grok_blackhole -109.03KiB -0.92 100.00% 11.62MiB 248.75KiB 5.08KiB 0 0.0208998 11.51MiB 1.2MiB 24.94KiB 0 0.104017 False False
http_pipelines_blackhole -21.11KiB -1.24 100.00% 1.66MiB 14.43KiB 301.85B 0 0.00848143 1.64MiB 113.03KiB 2.3KiB 0 0.0672615 False False
http_text_to_http_json -1.26MiB -3.22 100.00% 38.98MiB 1.77MiB 37.1KiB 0 0.0455202 37.72MiB 1.86MiB 38.86KiB 0 0.0492786 False False

@github-actions

Copy link
Copy Markdown
Contributor

Soak Test Results

Baseline: 25676e6
Comparison: b8d3451
Total Vector CPUs: 4

Explanation

A soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core.

The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed.

No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%:

Fine details of change detection per experiment.
experiment Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
datadog_agent_remap_blackhole 1.73MiB 2.75 100.00% 62.91MiB 4.68MiB 97.5KiB 0 0.0743808 64.64MiB 3.89MiB 81.26KiB 0 0.0602174 False False
datadog_agent_remap_blackhole_acks 1.18MiB 1.78 100.00% 66.28MiB 4.66MiB 97.11KiB 0 0.070357 67.46MiB 3.07MiB 64.22KiB 0 0.0455162 False False
splunk_hec_route_s3 283.77KiB 1.42 100.00% 19.57MiB 2.16MiB 44.95KiB 0 0.110321 19.85MiB 2.12MiB 44.42KiB 0 0.107012 False False
syslog_splunk_hec_logs 198.94KiB 1.18 100.00% 16.51MiB 797.69KiB 16.22KiB 0 0.0471652 16.71MiB 564.08KiB 11.52KiB 0 0.0329647 False False
syslog_loki 132.59KiB 0.87 100.00% 14.92MiB 615.57KiB 12.6KiB 0 0.0402893 15.05MiB 799.24KiB 16.25KiB 0 0.0518603 False False
syslog_log2metric_splunk_hec_metrics 115.93KiB 0.69 99.66% 16.41MiB 1.32MiB 27.63KiB 0 0.080659 16.52MiB 1.36MiB 28.38KiB 0 0.0823591 False False
syslog_humio_logs 115.09KiB 0.68 100.00% 16.45MiB 134.84KiB 2.75KiB 0 0.00800256 16.56MiB 156.8KiB 3.21KiB 0 0.00924284 False False
syslog_log2metric_humio_metrics 66.42KiB 0.49 99.99% 13.29MiB 517.37KiB 10.56KiB 0 0.038022 13.35MiB 642.72KiB 13.09KiB 0 0.0470041 False False
http_to_http_acks 28.86KiB 0.16 9.85% 17.79MiB 7.87MiB 164.44KiB 0 0.442244 17.81MiB 7.91MiB 165.48KiB 0 0.444068 True True
splunk_hec_to_splunk_hec_logs_noack 16.42KiB 0.07 83.76% 23.82MiB 473.67KiB 9.67KiB 0 0.019415 23.84MiB 327.01KiB 6.68KiB 0 0.0133944 False False
syslog_regex_logs2metric_ddmetrics 7.66KiB 0.06 37.32% 12.28MiB 561.27KiB 11.44KiB 0 0.0446255 12.29MiB 531.52KiB 10.83KiB 0 0.0422346 False False
http_pipelines_blackhole_acks 243.54B 0.02 7.47% 1.22MiB 108.11KiB 2.2KiB 0 0.0867757 1.22MiB 61.93KiB 1.26KiB 0 0.0497001 False False
splunk_hec_to_splunk_hec_logs_acks -1.24KiB -0.01 4.25% 23.76MiB 806.79KiB 16.41KiB 0 0.033156 23.76MiB 809.24KiB 16.46KiB 0 0.0332581 False False
splunk_hec_indexer_ack_blackhole -7.1KiB -0.03 22.77% 23.76MiB 832.51KiB 16.94KiB 0 0.0342098 23.75MiB 872.77KiB 17.76KiB 0 0.0358747 False False
file_to_blackhole -82.16KiB -0.08 58.01% 95.35MiB 2.87MiB 59.54KiB 0 0.0301147 95.27MiB 3.97MiB 82.64KiB 0 0.0416999 False False
http_to_http_json -27.93KiB -0.11 97.93% 23.85MiB 330.67KiB 6.75KiB 0 0.0135396 23.82MiB 489.67KiB 10.0KiB 0 0.0200727 False False
fluent_elasticsearch -143.97KiB -0.18 99.13% 79.46MiB 823.12KiB 16.63KiB 0 0.0101145 79.32MiB 2.54MiB 52.27KiB 0 0.0320318 False False
socket_to_socket_blackhole -40.31KiB -0.29 100.00% 13.71MiB 271.59KiB 5.54KiB 0 0.0193441 13.67MiB 150.99KiB 3.08KiB 0 0.0107856 False False
http_to_http_noack -100.13KiB -0.41 100.00% 23.84MiB 399.41KiB 8.17KiB 0 0.0163598 23.74MiB 1.1MiB 23.01KiB 0 0.0464801 False False
datadog_agent_remap_datadog_logs -360.06KiB -0.54 99.92% 65.05MiB 1.97MiB 41.28KiB 0 0.030282 64.69MiB 4.75MiB 98.99KiB 0 0.0734783 False False
http_pipelines_no_grok_blackhole -119.28KiB -0.97 100.00% 11.98MiB 40.43KiB 845.03B 0 0.00329538 11.86MiB 1.14MiB 23.76KiB 0 0.0961641 False False
http_pipelines_blackhole -19.95KiB -1.17 100.00% 1.66MiB 46.8KiB 979.31B 0 0.0275416 1.64MiB 120.11KiB 2.45KiB 0 0.0715183 False False
datadog_agent_remap_datadog_logs_acks -849.11KiB -1.37 100.00% 60.52MiB 5.6MiB 117.11KiB 0 0.092556 59.69MiB 6.44MiB 134.11KiB 0 0.107908 False False
http_text_to_http_json -1.43MiB -3.55 100.00% 40.16MiB 969.5KiB 19.79KiB 0 0.0235711 38.73MiB 1.07MiB 22.43KiB 0 0.0276993 False False

@bahlo

bahlo commented Jun 28, 2022

Copy link
Copy Markdown
Contributor Author

@jszwedko Just ran the tests again locally on a M1 MacBook Pro with make test-integration-axiom CONTAINER_TOOL=docker and they pass:

Screenshot 2022-06-28 at 09 24 19

I ran them 3x and did docker system prune beforehand, same result.

The CI output looks like it's not able to reach the local deployment. Are there any network restrictions?

@jszwedko

Copy link
Copy Markdown
Contributor

Thanks for taking a look @bahlo !

It does seem to fail for me locally, hopefully in the same way that CI is failing. The issue seems to be that the axiom-db container doesn't come up cleanly. Its logs are:

docker logs 3f521fa041c5
{"level":"info","_time":"2022-06-27T16:37:06.562790537Z","caller":"db/serve.go:133","message":"Running AxiomDB","service":"db","flavour":"release","release":"v1.21.0","revision":"3e333a247a","user":"runner","build":"2022-06-17T10:33:11Z","go":"go1.17.11"}
{"level":"error","_time":"2022-06-27T16:37:06.56410942Z","caller":"db/main.go:84","message":"Encountered error","service":"db","error":"create database connection: could not connect to postgres: dial tcp 172.19.0.2:5432: connect: connection refused","stacktrace":"main.main.func2\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/main.go:84\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).Run\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:139\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).Run\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:143\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).ParseAndRun\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:155\nmain.main\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/main.go:145\nruntime.main\n\truntime/proc.go:255"}
{"level":"info","_time":"2022-06-27T16:37:08.636926763Z","caller":"db/serve.go:133","message":"Running AxiomDB","service":"db","flavour":"release","release":"v1.21.0","revision":"3e333a247a","user":"runner","build":"2022-06-17T10:33:11Z","go":"go1.17.11"}
{"level":"info","_time":"2022-06-27T16:37:08.764380175Z","caller":"db/serve.go:746","message":"Applied database migrations","service":"db","count":10}
{"level":"warn","_time":"2022-06-27T16:37:08.764431315Z","caller":"db/serve.go:290","message":"Could not initialize fallback storage (is it configured?)","service":"db","error":"unknown storage provider \"\""}
{"level":"info","_time":"2022-06-27T16:37:08.764975227Z","caller":"db/serve.go:333","message":"Setting dataset limit based on memory","service":"db","limit":124}
{"level":"info","_time":"2022-06-27T16:37:08.778968051Z","caller":"db/serve.go:599","message":"Started listening","service":"db","address":"[::]:8080"}
{"level":"warn","_time":"2022-06-27T16:42:08.783441932Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T16:47:08.780338534Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T16:52:08.783896666Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T16:57:08.779943459Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:02:08.780006149Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:07:08.780033925Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:12:08.782153134Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:17:08.781618702Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:22:08.780315441Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:27:08.780094135Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:32:08.78254627Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:37:08.780284849Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:42:08.780031547Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:47:08.780910509Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:52:08.779616385Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T17:57:08.779718857Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:02:08.779948683Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:07:08.779458909Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:12:08.779713555Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:17:08.780015734Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:22:08.780199804Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:27:08.780102615Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:32:08.78066446Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:37:08.780085498Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:42:08.779752684Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:47:08.779851Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:52:08.780016582Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T18:57:08.77972197Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:02:08.779809664Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:07:08.779558791Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:12:08.780115441Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:17:08.779480125Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:22:08.780385298Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:27:08.779929832Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:32:08.780013085Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:37:08.780421768Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:42:08.779905613Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-27T19:47:08.780529362Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"info","_time":"2022-06-27T19:50:38.590344537Z","caller":"db/main.go:61","message":"Received interrupt","service":"db"}
{"level":"info","_time":"2022-06-27T19:50:38.590425846Z","caller":"db/serve.go:653","message":"Gracefully shutting down server","service":"db"}
{"level":"info","_time":"2022-06-27T19:50:38.593250341Z","caller":"datasetprovider/dataset_provider.go:101","message":"Closing all open datasets","service":"db"}
{"level":"error","_time":"2022-06-27T19:50:38.60409873Z","caller":"datasetprovider/dataset_provider.go:121","message":"Error promoting WAL to block for dataset","service":"db","dataset":"axiomdbdatasetmetrics","error":"pq: the database system is shutting down","stacktrace":"github.com/axiomhq/axiom/pkg/db/app/datasets/datasetprovider.(*DatasetProvider).beforePurge\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/app/datasets/datasetprovider/dataset_provider.go:121\nhub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru.(*LockingLRU).Purge.func2\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru/locking_lru.go:242\nhub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru/element.(*Element).TryEvict\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru/element/element.go:217\nhub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru.(*LockingLRU).Purge\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru/locking_lru.go:252\nhub.lumenfield.work/axiomhq/axiom/pkg/db/app/datasets/datasetprovider.(*DatasetProvider).Close\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/app/datasets/datasetprovider/dataset_provider.go:102\nmain.serveCmd.func6\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/serve.go:363\nmain.serveCmd\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/serve.go:663\nmain.main.func2\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/main.go:83\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).Run\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:139\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).Run\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:143\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).ParseAndRun\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:155\nmain.main\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/main.go:145\nruntime.main\n\truntime/proc.go:255"}
{"level":"error","_time":"2022-06-27T19:50:38.613225873Z","caller":"datasetprovider/dataset_provider.go:121","message":"Error promoting WAL to block for dataset","service":"db","dataset":"axiomdbmetrics","error":"pq: the database system is shutting down","stacktrace":"github.com/axiomhq/axiom/pkg/db/app/datasets/datasetprovider.(*DatasetProvider).beforePurge\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/app/datasets/datasetprovider/dataset_provider.go:121\nhub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru.(*LockingLRU).Purge.func2\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru/locking_lru.go:242\nhub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru/element.(*Element).Evict\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru/element/element.go:169\nhub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru.(*LockingLRU).Purge\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/lockinglru/locking_lru.go:262\nhub.lumenfield.work/axiomhq/axiom/pkg/db/app/datasets/datasetprovider.(*DatasetProvider).Close\n\thub.lumenfield.work/axiomhq/axiom/pkg/db/app/datasets/datasetprovider/dataset_provider.go:102\nmain.serveCmd.func6\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/serve.go:363\nmain.serveCmd\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/serve.go:663\nmain.main.func2\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/main.go:83\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).Run\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:139\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).Run\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:143\nhub.lumenfield.work/peterbourgon/ff/v2/ffcli.(*Command).ParseAndRun\n\thub.lumenfield.work/peterbourgon/ff/v2@v2.0.0/ffcli/command.go:155\nmain.main\n\thub.lumenfield.work/axiomhq/axiom/cmd/db/main.go:145\nruntime.main\n\truntime/proc.go:255"}
{"level":"info","_time":"2022-06-27T19:50:38.613371022Z","caller":"datasetprovider/dataset_provider.go:103","message":"Datasets flushed","service":"db"}
{"level":"info","_time":"2022-06-28T14:19:06.443324725Z","caller":"db/serve.go:133","message":"Running AxiomDB","service":"db","flavour":"release","release":"v1.21.0","revision":"3e333a247a","user":"runner","build":"2022-06-17T10:33:11Z","go":"go1.17.11"}
{"level":"warn","_time":"2022-06-28T14:19:06.466361966Z","caller":"db/serve.go:290","message":"Could not initialize fallback storage (is it configured?)","service":"db","error":"unknown storage provider \"\""}
{"level":"info","_time":"2022-06-28T14:19:06.466661383Z","caller":"db/serve.go:333","message":"Setting dataset limit based on memory","service":"db","limit":124}
{"level":"info","_time":"2022-06-28T14:19:06.482724497Z","caller":"db/serve.go:599","message":"Started listening","service":"db","address":"[::]:8080"}
{"level":"warn","_time":"2022-06-28T14:24:06.490695674Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}
{"level":"warn","_time":"2022-06-28T14:29:06.483809299Z","caller":"service/service.go:270","message":"Could not get Backlog. This can be okay if there is no Backlog","service":"db","error":"open /data/_backlog: no such file or directory"}

It seems like the postgres container isn't actually listening by the time the axiom-db container tries to start. It doesn't actually exit though, it just remains in an unhealthy state. The postgres container does come up cleanly, and restarting the axiom-db container allows it to also come up.

Curious to get your thoughts. It seems like we need the axiom-db container to wait until the postgres container is actually ready and listening or it needs to exit when it fails to connect so that docker-compose restarts it.

@spencergilbert
spencergilbert enabled auto-merge (squash) June 30, 2022 13:41
`error_for_status` was called when trying if the deployment is already
set up. if it wasn't, this was returning an Err, which was unwrapped and
prematurely failed the test.
auto-merge was automatically disabled July 1, 2022 07:53

Head branch was pushed to by a user without write access

@spencergilbert
spencergilbert enabled auto-merge (squash) July 1, 2022 12:48
@bahlo

bahlo commented Jul 5, 2022

Copy link
Copy Markdown
Contributor Author

@spencergilbert Are the failing soak tests related to the code in this PR? Can I do something to fix them?

@spencergilbert
spencergilbert disabled auto-merge July 5, 2022 15:14
@spencergilbert
spencergilbert merged commit 3dcc6bf into vectordotdev:master Jul 5, 2022
@spencergilbert

Copy link
Copy Markdown
Contributor

Sorry! Forgot those datadog tests fail for contributor PRs when I set auto-merge (contributor PRs don't get access to repo secrets).

Thanks for all the work on getting this merged @bahlo!

@bahlo

bahlo commented Jul 5, 2022

Copy link
Copy Markdown
Contributor Author

Wohooo 🥳 Thanks for the patience @spencergilbert and @jszwedko ❤️ Time to update our docs 😁

@bahlo
bahlo deleted the add-axiom branch July 5, 2022 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain:ci Anything related to Vector's CI environment domain:external docs Anything related to Vector's external, public documentation domain:sinks Anything related to Vector's sinks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Axiom sink

5 participants